package com.example.user.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.example.user.entity.wx.WxOrderEntity;
import com.example.user.mapper.WxOrderDataMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Author:汪彬彬
 * date:2024/11/12 15:30
 */
@Service
public class WxOrderDataService   {

    @Autowired
    WxOrderDataMapper wxOrderDataMapper;

    WxOrderEntity selectOne( QueryWrapper<WxOrderEntity> wrapper){
        return wxOrderDataMapper.selectOne(wrapper);
    }

    int updateById(WxOrderEntity wxOrderEntity){
        return wxOrderDataMapper.updateById(wxOrderEntity);
    }
}
